package com.s59.controller;

import com.s59.mp.SczMp;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MqController {
    @Autowired
    private SczMp sczMp;

    @GetMapping
    public boolean sead(String mg,String key){
        sczMp.sead(mg,key);
        return true;
    }
    @GetMapping("/ggg")
    public boolean sead1(String mg,String key){
        sczMp.sead1(mg,key);
        return true;
    }
    @GetMapping("/gggg")
    public boolean sead2(String mg,String key){
        sczMp.sead2(mg,key);
        return true;
    }
}
